package com.yunkaweilai.android.model;

/**
 * Created by Administrator on 2017/6/15.
 */

public class ImageUploadModel {


    /**
     * loginCode : 1
     * code : 1
     * message : 成功
     * data : {"name":"bnt_oval_press.png","type":"image/png","size":3348,"key":0,"ext":"png","md5":"3f717ee2920052dbad6938c8690b973d","sha1":"d77385651e7bea0668aea72011e338625bb66f6e","savename":"14975198328236.png","savepath":"goods/4/","path":"/Uploads/goods/4/14975198328236.png"}
     */

    private int loginCode;
    private int code;
    private String message;
    private DataBean data;

    public int getLoginCode() {
        return loginCode;
    }

    public void setLoginCode(int loginCode) {
        this.loginCode = loginCode;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * name : bnt_oval_press.png
         * type : image/png
         * size : 3348
         * key : 0
         * ext : png
         * md5 : 3f717ee2920052dbad6938c8690b973d
         * sha1 : d77385651e7bea0668aea72011e338625bb66f6e
         * savename : 14975198328236.png
         * savepath : goods/4/
         * path : /Uploads/goods/4/14975198328236.png
         */

        private String name;
        private String type;
        private String size;
        private String key;
        private String ext;
        private String md5;
        private String sha1;
        private String savename;
        private String savepath;
        private String path;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getSize() {
            return size;
        }

        public void setSize(String size) {
            this.size = size;
        }

        public String getKey() {
            return key;
        }

        public void setKey(String key) {
            this.key = key;
        }

        public String getExt() {
            return ext;
        }

        public void setExt(String ext) {
            this.ext = ext;
        }

        public String getMd5() {
            return md5;
        }

        public void setMd5(String md5) {
            this.md5 = md5;
        }

        public String getSha1() {
            return sha1;
        }

        public void setSha1(String sha1) {
            this.sha1 = sha1;
        }

        public String getSavename() {
            return savename;
        }

        public void setSavename(String savename) {
            this.savename = savename;
        }

        public String getSavepath() {
            return savepath;
        }

        public void setSavepath(String savepath) {
            this.savepath = savepath;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }
    }
}
